package com.ruoyi.fs.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 还款计划支付对象 fs_case_repayment_schedule_pay
 *
 * @author hero
 * @date 2024-11-18
 */
public class FsCaseRepaymentSchedulePay extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 案件id
     */
    @Excel(name = "案件id")
    private Long scheduleId;

    /**
     * 还款id
     */
    @Excel(name = "还款id")
    private Long repaymentId;

    /**
     * 实还日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shrq;

    /**
     * 实还金额
     */
    @Excel(name = "实还金额")
    private BigDecimal shje;

    /**
     * 所属人
     */
    @Excel(name = "所属人")
    private Long ssr;

    /**
     * 还款类型
     */
    @Excel(name = "还款类型")
    private Integer hklx;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer zt;

    /**
     * 审查人
     */
    @Excel(name = "审查人")
    private Long scr;

    private String scrMc;

    /**
     * 审查时间
     */
    @Excel(name = "审查时间")
    private Date scsj;

    private FsCaseRepaymentSchedule schedule;

    private List<FsCaseRepaymentScheduleFile> files;

    private String fileUrls;

    public String getScrMc() {
        return scrMc;
    }

    public void setScrMc(String scrMc) {
        this.scrMc = scrMc;
    }

    public String getFileUrls() {
        return fileUrls;
    }

    public void setFileUrls(String fileUrls) {
        this.fileUrls = fileUrls;
    }

    public List<FsCaseRepaymentScheduleFile> getFiles() {
        return files;
    }

    public void setFiles(List<FsCaseRepaymentScheduleFile> files) {
        this.files = files;
    }

    public FsCaseRepaymentSchedule getSchedule() {
        return schedule;
    }

    public void setSchedule(FsCaseRepaymentSchedule schedule) {
        this.schedule = schedule;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setScheduleId(Long scheduleId) {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() {
        return scheduleId;
    }

    public void setRepaymentId(Long repaymentId) {
        this.repaymentId = repaymentId;
    }

    public Long getRepaymentId() {
        return repaymentId;
    }

    public void setShrq(Date shrq) {
        this.shrq = shrq;
    }

    public Date getShrq() {
        return shrq;
    }

    public void setShje(BigDecimal shje) {
        this.shje = shje;
    }

    public BigDecimal getShje() {
        return shje;
    }

    public void setSsr(Long ssr) {
        this.ssr = ssr;
    }

    public Long getSsr() {
        return ssr;
    }

    public void setZt(Integer zt) {
        this.zt = zt;
    }

    public Integer getZt() {
        return zt;
    }

    public Long getScr() {
        return scr;
    }

    public void setScr(Long scr) {
        this.scr = scr;
    }

    public Date getScsj() {
        return scsj;
    }

    public void setScsj(Date scsj) {
        this.scsj = scsj;
    }

    public Integer getHklx() {
        return hklx;
    }

    public void setHklx(Integer hklx) {
        this.hklx = hklx;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("scheduleId", getScheduleId())
                .append("repaymentId", getRepaymentId())
                .append("shrq", getShrq())
                .append("shje", getShje())
                .append("ssr", getSsr())
                .append("zt", getZt())
                .append("scr", getScr())
                .append("scsj", getScsj())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
